package com.eight.homepage.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.eight.common.pojo.TbZoneCourse;
import com.eight.common.pojo.ZoneCourse;
import com.eight.homepage.vo.ZoneVo;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author 向文豪
 * @program: eight-education-parent
 * @description:
 * @date 2023/5/29 18:50
 */
public interface ZoneCourseService {

    List<ZoneCourse> select(String id);

    Page<ZoneCourse> findPage(Integer currentPage, Integer pageSize, ZoneVo zoneVo);

    Page<ZoneCourse> findCoursePage(Integer currentPage, Integer pageSize, ZoneVo zoneVo);

    int delete(String  id);

    int updateStatus(String zcId, Integer tzcisDisable);

    int addCourse(TbZoneCourse tbZoneCourse);
}
